import Vue from "vue";
import Router from "vue-router";
import Login from "@/page/login";
import index from "@/page/index";
import resourceQuery from "@/page/resourceQuery";

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/index",
      name: "index",
      component: index
    },
    {
      path: "/",
      name: "Login",
      component: Login
    },
    {
      path: "/resourceQuery",
      name: "resourceQuery",
      component: resourceQuery
    }
  ]
});
